wpforo\classes\PostMeta D

Total Complexity 144
Dependencies 1
Dependents 1
Total lines 646
Lines of code 509
Logical lines of code 321
Comment lines 46
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
add_file()
B
33 20 91
build_sql_select()
B
46 22 27
search()
A
46 15 32
get_postmeta()
A
47 12 35
add()
A
49 12 27
edit()
A
52 8 24
delete_file()
S
57 6 15
after_edit_post()
S
51 5 28
after_edit_topic()
S
51 5 28
after_add_post()
S
54 4 21
after_add_topic()
S
54 4 21
delete()
S
59 4 15
get_postmetas()
S
61 4 11
init_defaults()
S
46 1 47
get_postmeta_by_id()
S
62 4 10
get_postmetas_col()
S
63 3 9
exists()
S
64 3 9
parse_args()
S
57 1 17
fix_postmeta()
S
71 2 5
after_merge_topic()
S
67 2 6
init_hooks()
S
60 1 12
after_post_status_update()
S
78 1 3
after_topic_private_update()
S
78 1 3
__construct()
S
78 1 4
after_delete_post()
S
79 1 3
after_move_topic()
S
78 1 3
after_is_first_post_update()
S
78 1 3